
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
  <title>鸡蛋美术商城-网仓</title>
<script type="text/javascript" src="/js/jquery.js"></script>
<link rel="stylesheet" href="/wangcang/tpl/style.css" />
</head>
<body style="text-align: center;" id="order">
<div id="main_top">
    <h3>
        <div>
            <form action="index.php?act=print" method="post" target="_blank" onsubmit="print();">请输入订单号：<input type="text" id="orderSn" name="iscs_order_no" autofocus="" placeholder="订单号" autocomplete="off" >　<input type="submit" class="button" value="清单打印">
            </form>
            <script type="text/javascript">
                function print(){
                    setTimeout("$('#orderSn').val('').focus()",100);
                }
            </script>
        </div>
    </h3>
</div>
<table cellpadding="2" cellspacing="0" bgcolor="#fff" class="lists table_list">
    <tbody>
        <tr>
            <th>
            <a href="javascript:listTable.sort('order_sn', 'DESC');">订单号</a></th>
            <th><a>下单时间</a></th>
            <th><a>收货人</a></th>
            <th><a>支付方式</a></th>
            <th>操作</th>
        </tr>
        {foreach from=$orderList key=key item=item}
        <tr>
            <td align="center" nowrap="nowrap" style="background: rgb(255, 255, 255);">{$item.order_sns}</td>
            <td align="center" style="background: rgb(255, 255, 255);">{$item.add_time}</td>
            <td align="center" style="background: rgb(255, 255, 255);">{$item.region} {$item.consignee}<br>{$item.address}</td>
            <td align="center" style="background: rgb(255, 255, 255);">{$item.pay_name}</td>
            <td align="center" nowrap="nowrap" style="background: rgb(255, 255, 255);"><a href="index.php?act=print&orderSn={$item.order_sn}" target="_blank">订单打印</a></td>
        </tr>
        {/foreach}
    </tbody>
</table>
</body>
</html>
